package com.tarena.lbs.coupon.pojo.query;

import com.tarena.lbs.base.protocol.pager.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class CouponQuery extends BasePageQuery {

    @Schema(description = "优惠券类型：1-满减券 2-折扣券 3-现金券 4-免运费券 5-特价券")
    private Integer couponType;

    @Schema(description = "优惠券状态：1-未开始 2-进行中 3-已结束")
    private Integer status;

    @Schema(description = "优惠券名称")
    private String couponName;

    @Schema(description = "商家id")
    private Integer businessId;

    public long getPageNum() {
        return super.getPageNo();
    }
}